﻿
namespace Sisocana.Core.Interfaces
{
    public interface ISecurity
    {
        bool ValidateUser(string user, string pass);
        bool ChangePassword(string oldpass, string newpass, string user);
        bool HasPermissionGralAdmin(string user);
        bool HasPermissionSiteAdmin(string user, int siteId);
    }
}
